package com.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shop.entity.PmsBrand;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 品牌表 服务类
 * </p>
 *
 * @author lpx610
 * @since 2023-11-02
 */
public interface PmsBrandService extends IService<PmsBrand> {
    IPage<PmsBrand> list(Integer pageNo, Integer pageSize, String name, Integer order);
    List<PmsBrand> getName();
    Boolean add(String name, String description, MultipartFile file);
    Boolean update(String id, String name, String description, MultipartFile file);
    Boolean delete(String id, Boolean active);
}
